package com.zdj.data.services;

import com.zdj.data.entity.Login;

import retrofit2.adapter.rxjava.Result;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by dengjie zhang on 2016/10/11.
 */

public interface ILoginService {
    @GET(value = "login.json")
    Observable<Result<Login>> login(@Query("username") String username, @Query("password") String password);
}
